use std::collections::HashMap;

#[derive(Debug, Default)]
pub struct Metadata {
    pub topic_map: HashMap<String, Topic>,
}

#[derive(Debug, Default)]
pub struct Topic {
    pub topic_name: String,
    pub partition_num: u16,
    pub replication_factor: u16,
}
